package com.ssm.student.dao;

import com.ssm.student.eo.ExaminationTypeEoPage;
import com.ssm.student.model.ExaminationType;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 * 操作数据库方法的对接
 * */
@Mapper
public interface ExaminationTypeMapper {
    //添加
    int insertExaminationType(ExaminationType examinationType);

    //获取数量
    int getTypename(int typename);

    //通过主键更新
    int updateExaminationType(ExaminationType examinationType);

    //通过主键删除
    int delExaminationType(Integer  examinationTypeid);
    //根据条件获取相关信息
    List<ExaminationTypeEoPage> getWhereAll(ExaminationTypeEoPage examinationTypeEoPage);
}
